package com.cl.short_video_java.vo.sys;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * @Author 付
 * @Date 2024-11-06 17:08
 * @Version 1.0
 * @description 新增
 * @since 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Notice {
	private Integer id;
	@NotEmpty(message = "公告标题不能为空")
	private String title;
	@NotEmpty(message = "公告内容不能为空")
	private String content;
	private Integer type;
	private Integer status;
}
